package com.example.gybicycle.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
import java.util.List;

import lombok.Data;


@Data
@Schema(name ="菜单")
public class SysMenu  {
    @Schema(description = "菜单id")
    private Integer id;
    @Schema(description = "父id")
    private Integer parentId;
    @Schema(description = "名称")
    private String name;
    @Schema(description = "名称")
    private String title;
    @Schema(description = "类型")
    private Integer type;
    @Schema(description = "路由")
    private String path;
    @Schema(description = "组件")
    private String component;
    @Schema(description = "排序")
    private Integer sort;
    @Schema(description = "是否可见")
    private Integer visible;
    @Schema(description = "图标")
    private String icon;
    @Schema(description = "重定向地址")
    private String redirect;
    @Schema(description = "权限")
    private String perm;
    private Boolean hidden;
    private Boolean alwaysShow;
    private String params;
    private String paramss;
    private Boolean keepAlive;
    @Schema(description = "权限")
    private List<SysMenu> children;
}